package cn.dceast.common.utils;

import java.util.List;

/**
 * Created by fanbo on 2017-07-18.
 */
public class DataUtil {

    public static boolean isListNull(List list){
        if(list==null)
            return true;
        else
            return false;
    }

    public static boolean isListNotNull(List list){
        if(list!=null && list.size()>0){
            return true;
        }else{
            return false;
        }
    }
}
